let {request_3031,request_3001} = require('../utils/https.js')

module.exports = {
  // 获取资源库列表
  getResourceList : (data) => {
    return request_3001({
      url: `/qlsyData/getResourceList`,
      method: "POST",
      data
    })
  },
  getResourceListPage : (data) => {
    return request_3001({
      url: `/qlsyData/getResourceList/page`,
      method: "POST",
      data
    })
  },
  getResourceListDetail : (zyID) => {
    return request_3001({
      url: `/qlsyData/getResourceList/detail?zyID=${zyID}`,
      method: "GET",
    })
  },
  InsertData:(data)=>{
    return request_3001({
      url: `/qlsyData/InsertData`,
      method: "POST",
      data
    })
  }
}